package cn.kaguyaever.service;

import cn.kaguyaever.entity.Candidate;

import java.util.List;

public interface CandidateService {
    public void createCandidate(Candidate candidate);

    public List<Candidate> queryCandidate(String voteId);

    public void voteCandidate(Integer candidateId);

    public void deleteCandidate(String voteId);
}
